package com.huadao.cart_ccs.data.bo;

/**
 * 命令字
 * 上位机01表示读，02表示写；设备返回的命令字10(读成功)，1F（读失败），20（写成功），2F（写失败）
 */
public class CommandWord {
    public static final byte[] read = new byte[]{0x01};
    public static final byte[] write = new byte[]{0x02};
    public static final byte[] readSucc = new byte[]{0x10};
    public static final byte[] readFail = new byte[]{0x1F};
    public static final byte[] writeSucc = new byte[]{0x20};
    public static final byte[] writeFail = new byte[]{0x2F};

//    public static final byte read =0x01;
//    public static final byte write =0x02;
//    public static final byte readSucc =0x10;
//    public static final byte readFail =0x1F;
//    public static final byte writeSucc = 0x20;
//    public static final byte writeFail = 0x2F;
}
